Change-Id: I5cf39d3dde5990e6a0fde91b98cf692e39a3a431
/** @var string Unique name of callable; used for cache keys. */
private $callableName;
+ /** @var int */
+ private $ttl;
+
/**
* @throws InvalidArgumentException if $callable is not a callable.
* @param callable $callable Function or method to memoize.
* @since 1.27
*/
class ComposerInstalled {
+ /**
+ * @var array[]
+ */
+ private $contents;
/**
* @param string $location
/**
* Dependencies currently installed according to installed.json
*
- * @return array
+ * @return array[]
*/
public function getInstalledDependencies() {
$deps = [];
* @since 1.25
*/
class ComposerJson {
+ /**
+ * @var array[]
+ */
+ private $contents;
/**
* @param string $location
/**
* Dependencies as specified by composer.json
*
- * @return array
+ * @return string[]
*/
public function getRequiredDependencies() {
$deps = [];
* @since 1.25
*/
class ComposerLock {
+ /**
+ * @var array[]
+ */
+ private $contents;
/**
* @param string $location
/**
* Dependencies currently installed according to composer.lock
*
- * @return array
+ * @return array[]
*/
public function getInstalledDependencies() {
$deps = [];
*/
protected $stackDepth = 0;
+ /** @var callable|null */
+ protected $filterCallback;
+
/**
* @var array Additional parsing options
*/